package com.cn.xiaonuo.tcrfinance.tcrgnete.param;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.commons.lang3.StringUtils;

/**
 * @BelongsProject: slb-reports-java
 * @Author: likui
 * @CreateTime: 2022-11-28  10:21
 * @Description: 进件回调参数
 */
@Data
public class ShopIncomingPartsParam {
    /**
     * 用户id
     */
    @JSONField(name = "accountId")
    private String ownerId;

    /**
     * 分账接收方编码
     */
    @JSONField(name = "applyNo")
    private String psNo;

    /**
     * 审核状态 (6.审核成功)
     */
    private Integer auditStatus;

    public boolean isNull(){
        return StringUtils.isEmpty(ownerId) || (StringUtils.isEmpty(psNo) || (ObjectUtils.isEmpty(auditStatus)));
    }
}
